<template>
	<view class="search">
		<view class="searchInput" @click="toSearch">向阳花</view>
		
	</view>
</template>

<script>

export default {
	name: 'search',
	data() {
		return {
			play: false
		};
	},
	methods: {
		//跳转到搜索界面
		toSearch() {
			uni.navigateTo({
				url: '/pages/search/search'
			});
		},
	},
 
};
</script>

<style lang="less" scoped>
.search {
	position: relative;

	width: 100%;
	.searchInput {
		width: calc(100% - 38px);
		height: 30px;
		border-radius: 15px;
		border: solid 1px #ccc;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #ccc;
		margin: 2px 0;
		margin-left: 3px;
	}


}
</style>
